<template>
  <div v-show="show">
    <div class="loading_body">
      <img src="../../assets/loading.jpg" alt="" class="img"/>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      show:false
    }
  },
  methods: {
    close(){
      this.show = false
    }
  },
  
};
</script>

<style lang="scss">
.loading_body {
  width: 100%;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}
.img{
    width: 50%;
    height: 30%;
}
</style>